package com.eudon.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eudon.user.domain.entity.TbUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author eudon
 * @description 针对表【tb_user(用户表
 * -- 用户表
 * create table if not exists tb_user
 * (
 * id           bigint                                 not null comment 'id' primary key,
 * userAccount  varchar(256)                           not null comment '账号',
 * userPassword varchar(512)                           not null comment '密码',
 * userName     varchar(256)                           null comment '用户昵称',
 * userAvatar   varchar(1024)                          null comment '用户头像',
 * userProfile  varchar(512)                           null comment '用户简介',
 * userRole     varchar(256) default 'user'            not null comment '用户角色：user/admin',
 * editTime     datetime     default CURRENT_TIMESTAMP not null comment '编辑时间',
 * createTime   datetime     default CURRENT_TIMESTAMP not null comment '创建时间',
 * updateTime   datetime     default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP comment '更新时间',
 * deleted     tinyint      default 0                 not null comment '是否删除',
 * UNIQUE KEY uk_userAccount (userAccount),
 * INDEX idx_userName (userName)
 * ) comment '用户' collate = utf8mb4_unicode_ci;)】的数据库操作Mapper
 * @date 2025/9/8
 * @email syd19970616@gmail.com
 * @address <a href="https://gitee.com/eudon">Gitee</a>
 */
@Mapper
public interface TbUserMapper extends BaseMapper<TbUser> {

}




